.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)fortune.6	6.1 (Berkeley) 5/20/85
.\"
.TH FORTUNE 6 "May 20, 1985"
.UC 4
.SH NAME
fortune \- print a random, hopefully interesting, adage
.SH SYNOPSIS
.B /usr/games/fortune
[
.B \-
] [
.B \-wslao
]
..[ file ]
.SH DESCRIPTION
.I Fortune
with no arguments prints out a random adage. The flags mean:
.PP
.TP 5
.B \-w
Waits before termination
for an amount of time calculated from the number of characters in the message.
This is useful if it is executed as part of the logout procedure
to guarantee that the message can be read before the screen is cleared.
.TP 5
.B \-s
Short messages only.
.TP 5
.B \-l
Long messages only.
.TP
.B \-o
Choose from an alternate list of adages,
often used for potentially offensive ones.
.TP
.B \-a
Choose from either list of adages.
.PP
.. The user may specify a file of adages.
.. This file must be created by strfile(6),
..and be given by the user as
...it file.
..Only one such file may be named,
..subsequent ones are ignored.
.SH FILES
/usr/games/lib/fortunes.dat
.SH AUTHOR
Ken Arnold
...SH SEE\ ALSO
..strfile(6)
